home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / kdesudo.postrm < prev    next >
Text File  |  2008-09-26  |  401b  |  26 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. package_name=kdesudo
  6.  
  7. if [ -z "$package_name" ]; then
  8.     print >&2 "Internal Error. Please report a bug."
  9.     exit 1;
  10. fi
  11.  
  12. case "$1" in
  13.   remove)
  14.     dpkg-divert --package $package_name --rename --remove \
  15.                 /usr/lib/kde4/libexec/kdesu
  16.     ;;
  17.   purge)
  18.     ;;
  19.   upgrade)
  20.     ;;
  21.   *) echo "$0: didn't understand being called with \`$1'" 1>&2
  22.      exit 0;;
  23. esac
  24.  
  25. exit 0
  26.